import requests


headers = {
    "accept": "*/*",
    "accept-language": "zh",
    "cache-control": "no-cache",
    "pragma": "no-cache",
    "referer": "https://uland.taobao.com/sem/tbsearch?_input_charset=utf-8&bc_fl_src=tbsite_T9W2LtnM&channelSrp=bingSomama&clk1=7e50340f579c2582fb8271da3bfd1226&commend=all&ie=utf8&initiative_id=tbindexz_20170306&keyword=%E7%94%B7%E8%A3%85%E8%A3%A4%E5%AD%90&localImgKey=&msclkid=7860166032ef10f2cfc77f7d4c7a2d57&page=1&preLoadOrigin=https%3A%2F%2Fwww.taobao.com&q=%E7%94%B7%E8%A3%85%E8%A3%A4%E5%AD%90&refpid=mm_2898300158_3078300397_115665800437&search_type=item&source=suggest&sourceId=tb.index&spm=tbpc.pc_sem_alimama%2Fa.search_downSideRecommend.d1&ssid=s5-e&suggest=0_1&suggest_query=%E7%94%B7%E8%A3%85&tab=all&wq=%E7%94%B7%E8%A3%85",
    "sec-ch-ua": "\"Chromium\";v=\"142\", \"Google Chrome\";v=\"142\", \"Not_A Brand\";v=\"99\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "script",
    "sec-fetch-mode": "no-cors",
    "sec-fetch-site": "same-site",
    "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"
}
cookies = {
    "mtop_partitioned_detect": "1",
    "_m_h5_tk": "39fd47f890e65c70caf6cf0b40a526db_1763549148243",
    "_m_h5_tk_enc": "a4769a7c3edea471b7fc782caf67db47",
    "t": "d53c657f2ee691165b2eff4986ced3b8",
    "thw": "cn",
    "xlly_s": "1",
    "cna": "Dm6kIR7opHoBASQOBD1148Ze",
    "miid": "6010136536701546416",
    "_tb_token_": "e3d435e73bed5",
    "cookie2": "19c2b185c444ac5b7297c33653e7e683",
    "_samesite_flag_": "true",
    "3PcFlag": "1763541435855",
    "wk_cookie2": "10924848150becb1448e95f37fb5b86a",
    "wk_unb": "VyyY51e9xW9lJg%3D%3D",
    "sgcookie": "E100vhe8KW%2BFxAzbetN8Tpac%2FCXkOoVP9T%2Bg%2FpFY6AnOtAg9ECIJs1TZW4wk%2BDMwzQDdVZ6bQhWKt6H2xrfpBCiqnNtaOA6wB5WVp8Q96rcSHh2nhlEjrqYYGA0NcbLsqyqb",
    "_hvn_lgc_": "0",
    "havana_lgc2_0": "eyJoaWQiOjQwOTc0MzQ2MTksInNnIjoiNzU1N2MwYjRiN2ZhMzBhMjJjYTEzZWMyOTZkODViYzQiLCJzaXRlIjowLCJ0b2tlbiI6IjE4amNZel9KNVlFMkNMbGpZRWpocHJBIn0",
    "unb": "4097434619",
    "csg": "2bff2188",
    "lgc": "tb569620359",
    "cancelledSubSites": "%5B%22xianyu%22%5D",
    "cookie17": "VyyY51e9xW9lJg%3D%3D",
    "dnk": "tb569620359",
    "skt": "b3d9b1dd53048f67",
    "tracknick": "tb569620359",
    "_l_g_": "Ug%3D%3D",
    "sg": "991",
    "_nk_": "tb569620359",
    "cookie1": "BYMX6JvnSPstrJcwwIT9TfgPMeCQYiGsLQftAfqTbz8%3D",
    "uc1": "pas=0&cookie14=UoYY4HzGO0WkRQ%3D%3D&cookie16=VFC%2FuZ9az08KUQ56dCrZDlbNdA%3D%3D&existShop=false&cookie15=U%2BGCWk%2F75gdr5Q%3D%3D&cookie21=W5iHLLyFe3xm",
    "sn": "",
    "uc3": "nk2=F5RARJY%2FrwZkpuQ%3D&id2=VyyY51e9xW9lJg%3D%3D&lg2=V32FPkk%2Fw0dUvg%3D%3D&vt3=F8dD2klucORpXfCcbcs%3D",
    "existShop": "MTc2MzU0MTQ3Mg%3D%3D",
    "uc4": "id4=0%40VXtXDFGoyvvlWMU%2FtSnLBe8eSCTm&nk4=0%40FY4L6MgGh6UOgk6WxJB2mT67vDVnYQ%3D%3D",
    "_cc_": "WqG3DMC9EA%3D%3D",
    "useNativeIM": "false",
    "havana_lgc_exp": "1794645474925",
    "sdkSilent": "1763570274924",
    "havana_sdkSilent": "1763570274924",
    "tfstk": "gfYrEXYXc43rnWejPKQU_q7JXg_R8wk6qe6CtBAhNTXlNp_eYdBbRbQSvwJF3pB5VaX78eWDsXUSw0IhLLQlv36CF97e9dljCVg6wQQdoAMs5P6v2FQdK2_ncZDogxdKCVg6Z0fRRID6V7zdR1C_-wjlx-jcH_PuEpjhmZXA962ltzc2itB0r8jlZ-Act_2htpbngIXAOJbh-pbmg6BcKwbnhp_hWR1GqjwpdasoMkIfIQX4-PPAagqJNka3-X1R4OjcTyfyu_SPIQYg0nAciETVfiNIXZA9cLfV7VeldnOw8hA-_uW6qCIwfiwbcdJWhESX4DFRnnRDfsYo1oBXm6ROuEh7DsK1tZYkbW4Hga-5jsvuUyveFKTVc3oLwtx2ihsDDYrAEUCHpGLIBzBktCL9fNuTE9tX_e-F4sediWeWJ3y3YgfAgOGqguiDtbIUUHf8vkI8MsWswMqLvgfAgOGqgkEd2xCVCbIh.",
    "isg": "BB8fJXAeisv4mo7X3hPyAgwQrnOphHMmdOMfnrFsuk4XQD_CuVZ1dmIWAtg-WEue"
}
url = "https://h5api.m.taobao.com/h5/mtop.relationrecommend.wirelessrecommend.recommend/2.0/"
params = {
    "jsv": "2.7.2",
    "appKey": "12574478",
    "t": "1763542418143",
    "sign": "88c01abe82ea712a03ceed4aba662331",
    "api": "mtop.relationrecommend.wirelessrecommend.recommend",
    "v": "2.0",
    "type": "jsonp",
    "dataType": "jsonp",
    "callback": "mtopjsonp4",
    "data": "{\"appId\":\"43356\",\"params\":\"{\\\"device\\\":\\\"HMA-AL00\\\",\\\"isBeta\\\":\\\"false\\\",\\\"grayHair\\\":\\\"false\\\",\\\"from\\\":\\\"nt_history\\\",\\\"brand\\\":\\\"HUAWEI\\\",\\\"info\\\":\\\"wifi\\\",\\\"index\\\":\\\"4\\\",\\\"rainbow\\\":\\\"\\\",\\\"schemaType\\\":\\\"auction\\\",\\\"elderHome\\\":\\\"false\\\",\\\"isEnterSrpSearch\\\":\\\"true\\\",\\\"newSearch\\\":\\\"false\\\",\\\"network\\\":\\\"wifi\\\",\\\"subtype\\\":\\\"\\\",\\\"hasPreposeFilter\\\":\\\"false\\\",\\\"prepositionVersion\\\":\\\"v2\\\",\\\"client_os\\\":\\\"Android\\\",\\\"gpsEnabled\\\":\\\"false\\\",\\\"searchDoorFrom\\\":\\\"srp\\\",\\\"debug_rerankNewOpenCard\\\":\\\"false\\\",\\\"homePageVersion\\\":\\\"v7\\\",\\\"searchElderHomeOpen\\\":\\\"false\\\",\\\"search_action\\\":\\\"initiative\\\",\\\"sugg\\\":\\\"_4_1\\\",\\\"sversion\\\":\\\"13.6\\\",\\\"style\\\":\\\"list\\\",\\\"ttid\\\":\\\"600000@taobao_pc_10.7.0\\\",\\\"needTabs\\\":\\\"true\\\",\\\"areaCode\\\":\\\"CN\\\",\\\"vm\\\":\\\"nw\\\",\\\"countryNum\\\":\\\"156\\\",\\\"m\\\":\\\"pc_sem\\\",\\\"page\\\":\\\"1\\\",\\\"n\\\":48,\\\"q\\\":\\\"%E7%94%B7%E8%A3%85%E8%A3%A4%E5%AD%90\\\",\\\"qSource\\\":\\\"url\\\",\\\"pageSource\\\":\\\"tbpc.pc_sem_alimama/a.search_downSideRecommend.d1\\\",\\\"tab\\\":\\\"all\\\",\\\"pageSize\\\":48,\\\"totalPage\\\":100,\\\"totalResults\\\":4800,\\\"sourceS\\\":\\\"0\\\",\\\"sort\\\":\\\"_coefp\\\",\\\"bcoffset\\\":\\\"\\\",\\\"ntoffset\\\":\\\"\\\",\\\"filterTag\\\":\\\"\\\",\\\"service\\\":\\\"\\\",\\\"prop\\\":\\\"\\\",\\\"loc\\\":\\\"\\\",\\\"start_price\\\":null,\\\"end_price\\\":null,\\\"startPrice\\\":null,\\\"endPrice\\\":null,\\\"itemIds\\\":null,\\\"p4pIds\\\":null,\\\"categoryp\\\":\\\"\\\",\\\"myCNA\\\":\\\"Dm6kIR7opHoBASQOBD1148Ze\\\",\\\"clk1\\\":\\\"7e50340f579c2582fb8271da3bfd1226\\\",\\\"refpid\\\":\\\"mm_2898300158_3078300397_115665800437\\\"}\"}"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)


